//
//  DateTimeManager.h
//  MingDaEducation
//
//  Created by Herron on 2016/11/23.
//  Copyright © 2016年 Herron. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DateTimeManager : NSObject

// 当前时间时间戳
+ (long)currentTimestamp;

// 当前时间
+ (NSString *)currentTimeWithDateFormat:(NSString *)dateFormat;

// 时间戳->时间
+ (NSString *)dateTimeWithtimestamp:(long)timestamp dateFormat:(NSString *)dateFormat;

// 时间->时间戳
+ (long)timestampWithDateTime:(NSString *)dateTime dateFormat:(NSString *)dateFormat;

@end
